package com.cw.mapper;

import com.cw.beans.State;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.Collections;
import java.util.List;

@Mapper
public class StateMapperImpl implements  StateMapper{
    @Autowired
    private StateMapper stateMapper;

    public State getStateById(Integer id) {
        return stateMapper.getStateById(id);
    }

    public List<State> getState() {
        return stateMapper.getState();
    }

}
